package cn.mccraft.uide.api.util;

public final class Utils {

	public static Class<?> getCallerClass(){
		StackTraceElement stackTrace[] = Thread.currentThread().getStackTrace();
		try {
			return Class.forName(stackTrace[3].getClassName());
		} catch (ClassNotFoundException ignored) {
			return null;
		}
	}
	
	private Utils() {}
}
